package com.ynet.middleground.riskmanage.bean.rizhaogang;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liwq
 * @description 日照港货物信息全量查询请求信息
 * @date 2022-05-12 15:42
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "日照港货物信息全量查询请求信息", description = "日照港货物信息全量查询请求信息")
public class RzgAllGoodsInfoQueryReq extends BaseReqObj {

    private static final long serialVersionUID = 1246194518670046755L;

    @ApiModelProperty(value = "系统标志(0:日照港; 1:青岛港前湾港; 2:烟台港;)", notes = "系统标志(0:日照港; 1:青岛港前湾港; 2:烟台港;)", required = true)
    @NotBlank(message = "系统标志不能为空")
    private String chanType;

    @ApiModelProperty(value = "作业委托人Id;货代企业组织机构代码或收货人组织机构代码;", notes = "作业委托人Id;货代企业组织机构代码或收货人组织机构代码;")
    private String customerId;

    @ApiModelProperty(value = "作业委托人全称;货代企业全称或收货人名称;", notes = "作业委托人全称;货代企业全称或收货人名称;")
    private String fullName;

    @ApiModelProperty(value = "货物单号(烟台港专用)", notes = "货物单号(烟台港专用)")
    private String hwdh;

    @ApiModelProperty(value = "货物ID(烟台港专用)", notes = "货物ID(烟台港专用)")
    private String cargokey;

    @ApiModelProperty(value = "卸货港码头代码（干散货码头作业公司;青岛港专用）\n" + "前港 5\n" + "如果是获取多家码头公司数据，码头公司代码以英文逗号隔开。\n",
        notes = "卸货港码头代码（干散货码头作业公司;青岛港专用）\n" + "前港 5\n" + "如果是获取多家码头公司数据，码头公司代码以英文逗号隔开。\n")
    private String terminalCode;

    @ApiModelProperty(value = "查询返回行数(烟台港专用,默认：20)", notes = "查询返回行数(烟台港专用,默认：20)")
    private int rows = 20;

    @ApiModelProperty(value = "查询页数(烟台港专用，默认：1)", notes = "查询页数(烟台港专用，默认：1)")
    private int page = 1;

}
